package com.symone.webcms.service;

import com.symone.webcms.model.DataGroup;
import com.baomidou.mybatisplus.service.IService;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import java.util.List;
/**
 *   @description : ContentGroup 服务接口
 *   ---------------------------------
 * 	 @author Archer Chu
 *   @since 2019-03-25
 */
public interface DataGroupService extends IService<DataGroup> {

        boolean insert(DataGroup dataGroup);

        DataGroup insertData(DataGroup dataGroup);

        Page<DataGroup> findPage(Page<DataGroup> page, Wrapper<DataGroup> dataGroup);

        List<DataGroup> findAll();

        int delete(long id);

        boolean deleteFlagById(long id);

        int clear();

}
